package oopday02;

public class ExtendsTest {
    public static void main(String[] args) {
        Student zs = new Student("ZS",18,"2","S");
        zs.eat();
        zs.sleep();
        zs.sayHi();
        zs.study();
        Doctor ls = new Doctor("LS",19,"B","B");
        ls.eat();
        ls.sleep();
        ls.sayHi();
        ls.cut();

    }
}
